/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-5      SummerGift   first version
 */

#ifndef __WARING_H__
#define __WARING_H__

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>

#define LEDPDEV
#ifdef LEDPDEV
#define LED_PIN GET_PIN(E, 15)
#define ledActiveLeve 0
#endif

//#define BEEPDEV
#ifdef BEEPDEV
#define BEEP_PIN GET_PIN(B, 7)
#define beepActiveLeve 1
#endif

rt_err_t beepcontrol(rt_uint16_t ontime, rt_uint16_t offtime, rt_uint16_t activecount);
#endif /* __FLASHAPP_H__ */

